package service

import (
	"micro-grpc-server/services/music/internal/conf"
	"micro-grpc-server/services/music/internal/dao"
)

type MusicService struct {
	conf *conf.Config
	dao  *dao.Dao
}

func NewService(config *conf.Config) (s *MusicService) {
	s = &MusicService{
		conf: config,
		dao:  dao.NewDao(config),
	}
	return
}
